#include "demo_Led.h"
#include "bsp_Led.h"
#include "bsp_Inc.h"
#include "sys_Debug.h"

void demo_led()
{
#if DEMO_LED
    SysDebug("LED Demo Running\r\n");
    demoLed.init();
    while (1)
    {
        demoLed.on();
        BSP_Delay_ms(1000);
        demoLed.off();
        BSP_Delay_ms(1000);
        demoLed.toggle();
        BSP_Delay_ms(1000);
        demoLed.toggle();
        BSP_Delay_ms(1000);
    }
#else
    while (1)
    {
        BSP_Delay_ms(1000);
    }
#endif
}
